#ifndef __GlConfigFile_h__
#define __GlConfigFile_h__

#include "UtilityConfigFile.h"

namespace GraphicLibrary
{
	class ConfigFile
		: public Utility::ConfigFile
	{
		public:
			inline static void Init(const char *fileName)
			{
				if(msSingleton)
					delete msSingleton;
				msSingleton = new ConfigFile(fileName);
			}
			inline static ConfigFile* GetSingleton()	{return msSingleton;}
		private:
			inline ConfigFile(const char *fileName)
				: Utility::ConfigFile(fileName)
			{}
			static ConfigFile*	msSingleton;
	};
}

#endif // __GlConfigFile_h__
